package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.domain.ResponseResult;
import org.example.domain.dto.SpotListDto;
import org.example.domain.entity.Spot;

public interface SpotService extends IService<Spot> {
    ResponseResult addSpot(Spot spot);

    ResponseResult spotList(SpotListDto spotListDto);

    ResponseResult updateSpot(Spot spot);

    ResponseResult hotSpots();

    ResponseResult getSpotList(SpotListDto spotListDto);

    ResponseResult updateViewCount(Integer id);

    ResponseResult getSpotDetail(Integer id);
}
